﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Blo
{
    public class DictHeroTrainingMaxBlo
    {
        public static TableHeroTrainingMaxMin GetTalbeHeroTrainMaxData(string heroId, int level)
        {
            List<TableHeroTrainingMaxMin> list = Dict.DictDataManager.Instance.tableHeroTrainingMaxMinDao.GetByTwoIndex(heroId,level.ToString());
            if (list.Count > 0)
                return list[0];
            return null;
        }

    }

}